package com.bwjf.authority.action;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.bwjf.authority.commons.base.action.BaseAction;
import com.bwjf.authority.entity.AuthorityMuen;

/**
 * <p>
 * 菜单表 前端控制器
 * </p>
 *
 * @author LiLuQing
 * @since 2017-03-06
 */
@Controller
@RequestMapping("/authority/muen")
public class AuthorityMuenAction extends BaseAction {
    
    @RequestMapping(value="/add",method=RequestMethod.GET)
    public String toMuenAdd(){
        return "/system/muen/muenAdd.html";
    }
    
    @RequestMapping(value="/add",produces="application/text;charset=utf-8",method=RequestMethod.POST)
    @ResponseBody
    public String muenAdd(AuthorityMuen muen){
        
        return "";
    }
}
